package com.rzjm.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@TableName("ck_shop_post_record")
public class ShopPostRecord implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer shopId;

    private Integer postId;

    private Integer userId;

    private Integer opType;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String content;

    private String imgs;

    private String postName;

    private String shopName;

    private String regNo;

    private String userName;

    private String regName;

    private String sendMsgOkIds;

    private String sendMsgErrorIds;

    private Integer checkState;

    private String checkResult;

    private Integer userCount;
    private Integer isRegFire;
    private String fireImg;
    private Integer regTimeType;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date workBeginTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date workEndTime;


    @TableField(exist = false)
    List<String> imgUrls;

}
